home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc Source Code / Storage / Storage.r < prev    next >
Encoding:
Text File  |  1996-04-22  |  1.6 KB  |  86 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        Storage.r
  3.  
  4.     Contains:    Resources for the Storage subsystem
  5.  
  6.     Owned by:    David McCusker
  7.  
  8.     Copyright:    © 1996 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <3>      4/9/96    DH        1308248: 1.0.2 Drag of no-part to trash is
  13.                                     rejected. Added unknown category string
  14.                                     resource. 1296171:
  15.          <2>    .03.1996    NP        Added comment.
  16.          <1>    .03.1996    NP        first checked in
  17.     To Do:
  18. */
  19.  
  20. #define SystemSevenOrBetter 1            // we want the extended types
  21. #define    SystemSevenOrLater    1            // Types.r uses this variable
  22.  
  23. #ifndef __TYPES_R__
  24. #include "Types.r"
  25. #endif
  26.  
  27. #ifndef _STORRSRC_
  28. #include "StorRsrc.h"
  29. #endif
  30.  
  31. resource 'ALRT' (kODAlertFatalContainerError,
  32. #if ODDEBUG
  33. "Fatal Bento Error",
  34. #endif
  35. preload) {
  36.     {40, 40, 142, 318},
  37.     560,
  38.     {    /* array: 4 elements */
  39.         /* [1] */
  40.         OK, visible, sound1,
  41.         /* [2] */
  42.         OK, visible, sound1,
  43.         /* [3] */
  44.         OK, visible, sound1,
  45.         /* [4] */
  46.         OK, visible, sound1
  47.     },
  48.     alertPositionMainScreen
  49. };
  50.  
  51. /* NOTE THAT WE EXPLICITLY USE ICON #0 IN THIS DITL RATHER THAN CALLING
  52.     StopAlert TO INSERT THE ICON. WE DO THIS BECAUSE WE WANT TO MAKE SURE
  53.     THE ICON IS ALWAYS LOADED INTO MEMORY */
  54.  
  55. resource 'DITL' (kODAlertFatalContainerError,
  56. #if ODDEBUG
  57. "Fatal Bento Error",
  58. #endif
  59. preload) {
  60.     {    /* array DITLarray: 3 elements */
  61.         /* [1] */
  62.         {69, 201, 89, 263},
  63.         Button {
  64.             enabled,
  65.             "Quit"
  66.         },
  67.         /* [2] */
  68.         {10, 72, 58, 265},
  69.         StaticText {
  70.             disabled,
  71.             "Sorry, this document must immediately qu"
  72.             "it due to a fatal storage error."
  73.         },
  74.         /* [3] */
  75.         {11, 20, 43, 52},
  76.         Icon {
  77.             disabled,
  78.             0
  79.         }
  80.     }
  81. };
  82.  
  83. resource 'STR ' (kODUnknownCategoryStr, "Unknown Category Name") {
  84.     "Unknown Category"
  85. };
  86.